package com.yidu.ladder.delivery.dao;

import java.util.List;

import com.yidu.ladder.base.domain.RipareaStaffVo;
import com.yidu.ladder.base.domain.Staff;
import com.yidu.ladder.base.domain.StaffVo;
import com.yidu.ladder.delivery.domain.Workorder;
import com.yidu.ladder.delivery.domain.WorkorderVo;

public interface WorkorderDao {
	public List<Workorder> pageQueryWorkorder(WorkorderVo workorderVo);
	public int countUserByCriteria(WorkorderVo workorderVo);
	
	public List<Staff> pageQueryStaff(StaffVo staffVo);
	public int countStaffByCriteria(StaffVo staffVo);
	
	
	public int cuntRipareaStaff(RipareaStaffVo RipareaStaffVo);
	
	public List<Staff> findAllStaffByRipAreaId(RipareaStaffVo RipareaStaffVo);
	
	public int updateworkorder(Workorder workorder);
	
	/**
	 * 根据受理单Id查询工单
	 * @param businessNoticeId
	 * @return
	 */
	public List<Workorder> findWorkorderByBNoId(String businessNoticeId);

}
